package tech.aistar.mapper;

import org.apache.ibatis.annotations.*;
import tech.aistar.pojo.UserAddress;
import java.util.List;

@Mapper // 确保添加@Mapper注解
public interface UseraddressMapper {

    @Select("SELECT * FROM user_address WHERE user_id = #{userId}")
    List<UserAddress> getByUserId(@Param("userId") Integer userId);

    // 其他方法...
}